package com.qzct.mapper;

import com.mybatisflex.core.BaseMapper;
import com.qzct.entity.CuisineImgs;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.ArrayList;

/**
 *  映射层。
 *
 * @author 闽闽
 * @since 2025-01-11
 */
public interface CuisineImgsMapper extends BaseMapper<CuisineImgs> {
    @Select("select * from tb_cuisine_imgs where cuisine_id=#{id}")

    ArrayList<CuisineImgs> getByCid(@Param("id") int id);
}
